import log4j from 'koa-log4';
import log4jConfig from '../config/log4j';

log4j.configure(log4jConfig);
const logger = log4j.getLogger('application');
export const accessLogger = () => log4j.koaLogger(log4j.getLogger('access'));

export default logger;
